package com.songshuai.webapi.baseapi.service;

import com.songshuai.webapi.baseapi.dto.crmbase.CampusListItemDto;
import com.songshuai.webapi.baseapi.dto.request.CampusListReqDto;
import com.songshuai.webapi.baseapi.dto.request.CampusUpdateOpenStatusReqDto;
import com.songshuai.webapi.baseapi.dto.response.CampusListResDto;
import com.songshuai.webapi.baseapi.dto.response.CampusResDto;
import com.songshuai.webapi.baseapi.model.YixueBaseCampus;

import java.util.List;

public interface CampusService {

    List<CampusListResDto> getCampusList(CampusListReqDto reqDto);

    Boolean insertSelective(YixueBaseCampus record,List<Integer> crmIds);

    void deleteCampus(Integer campusId);

    void updateOpenStatus(CampusUpdateOpenStatusReqDto reqDto);

    void updateCampusByid(YixueBaseCampus record ,List<Integer> crmIds);

    CampusResDto queryCampusById(Integer campusId);

    List<CampusListItemDto>getCampusByName(String campusName, Integer size);
}
